package icu.qx.qc.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import icu.qx.qc.domain.gbs.GbsGood;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 过程检验对象 pro_work_report
 *
 * @author yong
 * @date 2024-06-24
 */
public class QcProQuality extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 报工code
     */
    private String reportCode;

    /**
     * 报工数量
     */
    @Excel(name = "报工数量")
    private BigDecimal reportCompleteNum;

    /**
     * 报工人
     */
    @Excel(name = "报工人")
    private Long reportPeoCode;
    private String reportPeoName;

    /**
     * 是否质检
     */
    private String reportQc;

    /**
     * 检验单code
     */
    @Excel(name = "检验单code")
    private String reportQcCode;

    /**
     * 质检单名称
     */
    @Excel(name = "质检单名称")
    private String reportQcName;

    /**
     * 质检类型
     */
    @Excel(name = "质检类型")
    private String reportType;

    /**
     * 质检人
     */
    @Excel(name = "质检人")
    private Long reportQcPeo;

    /**
     * 质检人名称
     */
    @Excel(name = "质检人名称")
    private String reportQcPeoName;

    /**
     * 工单code
     */
    @Excel(name = "工单code")
    private String reportOCode;

    /**
     * 工单名
     */
    @Excel(name = "工单名")
    private String reportOCodeName;

    /**
     * 工单批次
     */
    @Excel(name = "工单批次")
    private String reportOBatch;

    /**
     * 产品code
     */
    @Excel(name = "产品code")
    private String reportPCode;
    private GbsGood gbsGood;

    /**
     * 工单任务code
     */
    @Excel(name = "工单任务code")
    private String reportTCode;

    /**
     * 工单任务名
     */
    @Excel(name = "工单任务名")
    private String reportTCodeName;

    /**
     * 生产单元名
     */
    @Excel(name = "生产单元名")
    private String reportWCellName;

    /**
     * 工艺路线名
     */
    @Excel(name = "工艺路线名")
    private String reportRouteName;

    /**
     * 工序名
     */
    @Excel(name = "工序名")
    private String reportProcedureName;

    /**
     * 工序code
     */
    @Excel(name = "工序code")
    private String reportProcedure;

    /**
     * 生产班组名
     */
    @Excel(name = "生产班组名")
    private String reportGroupName;

    /**
     * 质检数
     */
    @Excel(name = "质检数")
    private BigDecimal reportQcNum;

    /**
     * 合格数
     */
    @Excel(name = "合格数")
    private BigDecimal reportGood;

    /**
     * 质检时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "质检时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reportTime;

    /**
     * 质检结果 0不合格 1合格
     */
    @Excel(name = "质检结果 0不合格 1合格")
    private String reportResult;

    /**
     * 报工设备
     */
    @Excel(name = "报工设备")
    private String reportDevCode;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String reportDesc;

    public String getReportPeoName() {
        return reportPeoName;
    }

    public void setReportPeoName(String reportPeoName) {
        this.reportPeoName = reportPeoName;
    }

    public String getReportQc() {
        return reportQc;
    }

    public void setReportQc(String reportQc) {
        this.reportQc = reportQc;
    }

    public GbsGood getGbsGood() {
        return gbsGood;
    }

    public void setGbsGood(GbsGood gbsGood) {
        this.gbsGood = gbsGood;
    }

    public void setReportCode(String reportCode) {
        this.reportCode = reportCode;
    }

    public String getReportCode() {
        return reportCode;
    }

    public void setReportCompleteNum(BigDecimal reportCompleteNum) {
        this.reportCompleteNum = reportCompleteNum;
    }

    public BigDecimal getReportCompleteNum() {
        return reportCompleteNum;
    }

    public void setReportPeoCode(Long reportPeoCode) {
        this.reportPeoCode = reportPeoCode;
    }

    public Long getReportPeoCode() {
        return reportPeoCode;
    }

    public void setReportQcCode(String reportQcCode) {
        this.reportQcCode = reportQcCode;
    }

    public String getReportQcCode() {
        return reportQcCode;
    }

    public void setReportQcName(String reportQcName) {
        this.reportQcName = reportQcName;
    }

    public String getReportQcName() {
        return reportQcName;
    }

    public void setReportType(String reportType) {
        this.reportType = reportType;
    }

    public String getReportType() {
        return reportType;
    }

    public Long getReportQcPeo() {
        return reportQcPeo;
    }

    public void setReportQcPeo(Long reportQcPeo) {
        this.reportQcPeo = reportQcPeo;
    }

    public void setReportQcPeoName(String reportQcPeoName) {
        this.reportQcPeoName = reportQcPeoName;
    }

    public String getReportQcPeoName() {
        return reportQcPeoName;
    }

    public void setReportOCode(String reportOCode) {
        this.reportOCode = reportOCode;
    }

    public String getReportOCode() {
        return reportOCode;
    }

    public void setReportOCodeName(String reportOCodeName) {
        this.reportOCodeName = reportOCodeName;
    }

    public String getReportOCodeName() {
        return reportOCodeName;
    }

    public void setReportOBatch(String reportOBatch) {
        this.reportOBatch = reportOBatch;
    }

    public String getReportOBatch() {
        return reportOBatch;
    }

    public void setReportPCode(String reportPCode) {
        this.reportPCode = reportPCode;
    }

    public String getReportPCode() {
        return reportPCode;
    }

    public void setReportTCode(String reportTCode) {
        this.reportTCode = reportTCode;
    }

    public String getReportTCode() {
        return reportTCode;
    }

    public void setReportTCodeName(String reportTCodeName) {
        this.reportTCodeName = reportTCodeName;
    }

    public String getReportTCodeName() {
        return reportTCodeName;
    }

    public void setReportWCellName(String reportWCellName) {
        this.reportWCellName = reportWCellName;
    }

    public String getReportWCellName() {
        return reportWCellName;
    }

    public void setReportRouteName(String reportRouteName) {
        this.reportRouteName = reportRouteName;
    }

    public String getReportRouteName() {
        return reportRouteName;
    }

    public void setReportProcedureName(String reportProcedureName) {
        this.reportProcedureName = reportProcedureName;
    }

    public String getReportProcedureName() {
        return reportProcedureName;
    }

    public void setReportProcedure(String reportProcedure) {
        this.reportProcedure = reportProcedure;
    }

    public String getReportProcedure() {
        return reportProcedure;
    }

    public void setReportGroupName(String reportGroupName) {
        this.reportGroupName = reportGroupName;
    }

    public String getReportGroupName() {
        return reportGroupName;
    }

    public void setReportQcNum(BigDecimal reportQcNum) {
        this.reportQcNum = reportQcNum;
    }

    public BigDecimal getReportQcNum() {
        return reportQcNum;
    }

    public void setReportGood(BigDecimal reportGood) {
        this.reportGood = reportGood;
    }

    public BigDecimal getReportGood() {
        return reportGood;
    }

    public void setReportTime(Date reportTime) {
        this.reportTime = reportTime;
    }

    public Date getReportTime() {
        return reportTime;
    }

    public void setReportResult(String reportResult) {
        this.reportResult = reportResult;
    }

    public String getReportResult() {
        return reportResult;
    }

    public void setReportDevCode(String reportDevCode) {
        this.reportDevCode = reportDevCode;
    }

    public String getReportDevCode() {
        return reportDevCode;
    }

    public void setReportDesc(String reportDesc) {
        this.reportDesc = reportDesc;
    }

    public String getReportDesc() {
        return reportDesc;
    }


    @Override
    public String toString() {
        return "QcProQuality{" +
                "reportCode='" + reportCode + '\'' +
                ", reportCompleteNum=" + reportCompleteNum +
                ", reportPeoCode=" + reportPeoCode +
                ", reportPeoName='" + reportPeoName + '\'' +
                ", reportQc='" + reportQc + '\'' +
                ", reportQcCode='" + reportQcCode + '\'' +
                ", reportQcName='" + reportQcName + '\'' +
                ", reportType='" + reportType + '\'' +
                ", reportQcPeo=" + reportQcPeo +
                ", reportQcPeoName='" + reportQcPeoName + '\'' +
                ", reportOCode='" + reportOCode + '\'' +
                ", reportOCodeName='" + reportOCodeName + '\'' +
                ", reportOBatch='" + reportOBatch + '\'' +
                ", reportPCode='" + reportPCode + '\'' +
                ", gbsGood=" + gbsGood +
                ", reportTCode='" + reportTCode + '\'' +
                ", reportTCodeName='" + reportTCodeName + '\'' +
                ", reportWCellName='" + reportWCellName + '\'' +
                ", reportRouteName='" + reportRouteName + '\'' +
                ", reportProcedureName='" + reportProcedureName + '\'' +
                ", reportProcedure='" + reportProcedure + '\'' +
                ", reportGroupName='" + reportGroupName + '\'' +
                ", reportQcNum=" + reportQcNum +
                ", reportGood=" + reportGood +
                ", reportTime=" + reportTime +
                ", reportResult='" + reportResult + '\'' +
                ", reportDevCode='" + reportDevCode + '\'' +
                ", reportDesc='" + reportDesc + '\'' +
                "} " + super.toString();
    }
}
